package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

/**
 * @author 16778
 * @date 2025/10/7 16:41
 * @description
 */
public interface CourseService {
    PageResult<Course> page(String name, Integer subject, Integer target, Integer page, Integer pageSize);

    void delete(Integer id);

    void insert(Course course);

    Course getById(Integer id);

    void update(Course course);

    List<Course> findAll();

    List<Course> selectBySubject(String subject);
}
